package com.bosto.jiramanager.helper;

import java.util.Set;

import android.content.Context;
import android.content.SharedPreferences;

public class SharedPreferencesHelper {
	SharedPreferences sp;
	SharedPreferences.Editor editor;
	Context context;
	public SharedPreferencesHelper(Context c,String name){
		context=c;
		sp=context.getSharedPreferences(null, 0);
		editor=sp.edit();
	}
	
	public void putValue(String key,String values){
		editor=sp.edit();
		editor.putString(key, values); 
		editor.commit();
	}
	public String GetValue(String key){
		return sp.getString(key, null);
	}
	public SharedPreferences getSharedPreferences(){
		return sp;
	}
}
